<script setup lang="ts">
// test 在 setup 语法糖中不用注册了 可以直接使用
import test from "./components/test.vue";
import watchLession from "./components/watch.vue";
import props from './components/props.vue'
import refVue from './components/ref.vue'
</script>

<template>
  <div class="app">
    <!-- <test
      name="子组件 name12313 "
      @change="console.log('子组件传值')"
    /> -->
    <!-- <watchLession /> -->
    <props />
    <refVue/>
  </div>
</template>

<style scoped lang="scss">
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
